package com.sunwayworld.basemodule.business.pjtask.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.pjtask.bean.LimsPjTaskBean;
import com.sunwayworld.basemodule.business.pjtask.dao.LimsPjTaskDao;
import com.sunwayworld.basemodule.business.pjtask.mapper.LimsPjTaskMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsPjTaskDaoImpl extends MybatisDaoSupport<LimsPjTaskBean, Long> implements LimsPjTaskDao {

    @Autowired
    private LimsPjTaskMapper limsPjTaskMapper;

    @Override
    public LimsPjTaskMapper getMapper() {
        return limsPjTaskMapper;
    }

    @Override
    public List<Map<String, Object>> selectCurrentConditionByTask(MapperParameter temp) {
        return getMapper().selectCurrentConditionByTask(temp);
    }
}
